package cn.skyquant.quant4j.api.quant.jforex;

import cn.skyquant.quant4j.api.dto.ResultDTO;
import cn.skyquant.quant4j.api.quant.Tick;
import cn.skyquant.quant4j.api.quant.TimeBar;
import cn.skyquant.quant4j.api.service.BaseServiceMock;
import cn.skyquant.quant4j.sdk.enums.TradeDirection;
import cn.skyquant.quant4j.sdk.util.time.Period;

import java.util.List;

public class JForexServiceMock extends BaseServiceMock implements JForexService {
    @Override
    public boolean start() {
        return false;
    }

    @Override
    public boolean stop() {
        return false;
    }

    @Override
    public boolean isStart() {
        return false;
    }

    @Override
    public ResultDTO<JForexAccount> getAccount() {
        return mockResult;
    }

    @Override
    public ResultDTO<List<TimeBar>> getBar(String symbol, Period period, TradeDirection td, String from, String to) {
        return mockResult;
    }

    @Override
    public ResultDTO<Tick> getLastTick(String symbol) {
        return mockResult;
    }

    @Override
    public ResultDTO<List<Tick>> getAllTick() {
        return mockResult;
    }

    @Override
    public ResultDTO<Long> getTime() {
        return mockResult;
    }
}
